(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <exec/types.h>
#include <intuition/intuition.h>
#include <proto/intuition.h>
BOOL WindowLimits()
SYNOPSIS
struct Window * Window
WORD MinWidth
WORD MinHeight
UWORD MaxWidth
UWORD MaxHeight

LOCATION
In IntuitionBase at offset 53
FUNCTION
This functions sets the minimum and maximum sizes of a window.

INPUTS
Window
window to change
MinWidth, MinHeight
the minimum size, may be 0 for no change
MaxWidth, MaxHeight
the maximum size, may be 0 for no change,
be
1 for no maximum size
RESULT
A boolean. FALSE is returned if any of the provided sizes is out of range. Note that the other sizes take effect, though. TRUE if all sizes could be set.

NOTES
EXAMPLE
BUGS
SEE ALSO
OpenWindow()
INTERNALS
HISTORY
09.07.1997 srittau
Initial revision (not working, needed for a demo-program to compile).